package com.a918.service.impl;

import com.a918.dao.CommonintroMapper;
import com.a918.entity.Commonintro;
import com.a918.service.CommonintroService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CommonintroServiceImp implements CommonintroService {

    private CommonintroMapper commonintroMapper;

    @Autowired
    public CommonintroServiceImp(CommonintroMapper commonintroMapper) { this.commonintroMapper = commonintroMapper; }

    @Override
    public Commonintro selectByPrimaryKey(Integer id) { return commonintroMapper.selectByPrimaryKey(id); }

    @Override
    public String selectContent(String type) { return commonintroMapper.selectContent(type); }

    @Override
    public void deleteByPrimaryKey(Integer id) { commonintroMapper.deleteByPrimaryKey(id); }

    @Override
    public void insert(Commonintro record) { commonintroMapper.insert(record); }

    @Override
    public void insertSelective(Commonintro record) { commonintroMapper.insertSelective(record); }

    @Override
    public void updateByPrimaryKeySelective(Commonintro record) { commonintroMapper.updateByPrimaryKeySelective(record); }

    @Override
    public void updateByPrimaryKeyWithBLOBs(Commonintro record) { commonintroMapper.updateByPrimaryKeyWithBLOBs(record); }

    @Override
    public void updateByPrimaryKey(Commonintro record) { commonintroMapper.updateByPrimaryKey(record); }

    @Override
    public void updateByTypeSelective(Commonintro record) { commonintroMapper.updateByTypeSelective(record); }


}
